{include file=header.html}
<body>
<div class="sub-body">
<div class="tab-frame">
<div class="tab-title-1">
<!--{if $smarty.get.act eq 'cate_add'}--><span>{$lang.add_category}</span><!--{else}--><span>{$lang.edit_category}</span><!--{/if}-->
</div>
<form action="{url app=news&act=$smarty.get.act}{if $smarty.get.cate_id}&amp;cate_id={$smarty.get.cate_id}{/if}" method="post">
<table cellspacing="0" cellpadding="0" class="tab-display" id="tab-color">
	<tr>
		<td width="10%" align="right">{$lang.cate_name}：</td>
		<td align="left"><input type="text" name="cate_name" value="{$category.cate_name}" style="width:200px;" /></td>
	</tr>
	<tr>
		<td align="right">{$lang.if_show}：</td>
		<td align="left"><label><input type="radio" name="if_show" {if $category.if_show}checked{/if} value="1" />{$lang.yes}</label>&nbsp;&nbsp;<label><input type="radio" name="if_show" {if !$category.if_show}checked{/if} value="0" />{$lang.no}</label></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="submit" value="{$lang.submit}" /></td>
	</tr>
</table>
</form>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div>
</div>
</body>
</html>